package com.leyou.auth.utils;

import org.apache.commons.lang3.StringUtils;

/**
 * @Author: Rose
 * @Date: 2021/4/10 15:59
 * @description ${description}
 * @version: 1.0.0
 */
public class ObjectUtils {


    public static Long toLong(String key) {
        if (StringUtils.isBlank(key)) {
            return null;
        }
        return Long.parseLong(key);
    }

}
